Package com.cisco.pt.ipc.sim.pdu.impl
Class EIGRPInternalImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPInternalImpl
- All Implemented Interfaces:
IPCData,EIGRPInternal,EIGRPTlv,Pdu,Signal
- Direct Known Subclasses:
EIGRPExternalImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected Byteprotected Byteprotected intprotected IPAddressprotected IPAddressprotected Byteprotected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
length, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intintgetDelay()getFieldType(String fieldName) getLoad()intgetMtu()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetBandwidth(int bandwidth) voidsetDelay(int delay) voidsetHopCount(Byte hopCount) voidvoidsetMtu(int mtu) voidsetNetwork(IPAddress network) voidsetNextHop(IPAddress nextHop) voidsetPrefixLength(Byte prefixLength) voidsetReliability(Byte reliability) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
getLength, getType, setLength, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EIGRPTlv
getLength, getType, setLength, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
nextHop
-
delay
protected int delay -
bandwidth
protected int bandwidth -
mtu
protected int mtu -
hopCount
-
reliability
-
load
-
prefixLength
-
network
-
-
Constructor Details
-
EIGRPInternalImpl
public EIGRPInternalImpl()
-
-
Method Details
-
getNextHop
- Specified by:
getNextHopin interfaceEIGRPInternal- Returns:
- IPAddress Returns a IPAddress
-
setNextHop
- Specified by:
setNextHopin interfaceEIGRPInternal- Parameters:
nextHop- Takes in a parameter of nextHop
-
getDelay
public int getDelay()- Specified by:
getDelayin interfaceEIGRPInternal- Returns:
- int Returns a int
-
setDelay
public void setDelay(int delay) - Specified by:
setDelayin interfaceEIGRPInternal- Parameters:
delay- Takes in a parameter of delay
-
getBandwidth
public int getBandwidth()- Specified by:
getBandwidthin interfaceEIGRPInternal- Returns:
- int Returns a int
-
setBandwidth
public void setBandwidth(int bandwidth) - Specified by:
setBandwidthin interfaceEIGRPInternal- Parameters:
bandwidth- Takes in a parameter of bandwidth
-
getMtu
public int getMtu()- Specified by:
getMtuin interfaceEIGRPInternal- Returns:
- int Returns a int
-
setMtu
public void setMtu(int mtu) - Specified by:
setMtuin interfaceEIGRPInternal- Parameters:
mtu- Takes in a parameter of mtu
-
getHopCount
- Specified by:
getHopCountin interfaceEIGRPInternal- Returns:
- Byte Returns a Byte
-
setHopCount
- Specified by:
setHopCountin interfaceEIGRPInternal- Parameters:
hopCount- Takes in a parameter of hopCount
-
getReliability
- Specified by:
getReliabilityin interfaceEIGRPInternal- Returns:
- Byte Returns a Byte
-
setReliability
- Specified by:
setReliabilityin interfaceEIGRPInternal- Parameters:
reliability- Takes in a parameter of reliability
-
getLoad
- Specified by:
getLoadin interfaceEIGRPInternal- Returns:
- Byte Returns a Byte
-
setLoad
- Specified by:
setLoadin interfaceEIGRPInternal- Parameters:
load- Takes in a parameter of load
-
getPrefixLength
- Specified by:
getPrefixLengthin interfaceEIGRPInternal- Returns:
- Byte Returns a Byte
-
setPrefixLength
- Specified by:
setPrefixLengthin interfaceEIGRPInternal- Parameters:
prefixLength- Takes in a parameter of prefixLength
-
getNetwork
- Specified by:
getNetworkin interfaceEIGRPInternal- Returns:
- IPAddress Returns a IPAddress
-
setNetwork
- Specified by:
setNetworkin interfaceEIGRPInternal- Parameters:
network- Takes in a parameter of network
-
getFieldType
- Overrides:
getFieldTypein classEIGRPTlvImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classEIGRPTlvImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classEIGRPTlvImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classEIGRPTlvImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classEIGRPTlvImpl
-